home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C08 / Microsoft.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  3.5 KB  |  136 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C08
  7. # using the Microsoft compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Microsoft.makefile
  11.  
  12. # Note: this requires the service Pack 3 from
  13. # www.Microsoft.com for successful compilation!
  14. CPP = cl
  15. CPPFLAGS = -GX -GR
  16. OFLAG = -o
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     Safecons.exe \
  25.     Constag.exe \
  26.     ConstPointers.exe \
  27.     PointerAssignment.exe \
  28.     Constval.exe \
  29.     ConstReturnValues.exe \
  30.     ConstPointer.exe \
  31.     ConstTemporary.exe \
  32.     ConstInitialization.exe \
  33.     BuiltInTypeConstructors.exe \
  34.     EncapsulatingTypes.exe \
  35.     EnumHack.exe \
  36.     ConstMember.exe \
  37.     Castaway.exe \
  38.     Mutable.exe 
  39.  
  40. test: all 
  41.     Safecons.exe  
  42.     Constag.exe  
  43.     ConstPointers.exe  
  44.     PointerAssignment.exe  
  45.     Constval.exe  
  46.     ConstReturnValues.exe  
  47.     ConstPointer.exe  
  48.     ConstTemporary.exe  
  49.     ConstInitialization.exe  
  50.     BuiltInTypeConstructors.exe  
  51.     EncapsulatingTypes.exe  
  52.     EnumHack.exe  
  53.     ConstMember.exe  
  54.     Castaway.exe  
  55.     Mutable.exe  
  56.  
  57. bugs: \
  58.     StringStack.exe \
  59.     Quoter.exe \
  60.     Volatile.exe 
  61.  
  62. Safecons.exe: Safecons.obj 
  63.     $(CPP) $(OFLAG)Safecons.exe Safecons.obj 
  64.  
  65. Constag.exe: Constag.obj 
  66.     $(CPP) $(OFLAG)Constag.exe Constag.obj 
  67.  
  68. ConstPointers.exe: ConstPointers.obj 
  69.     $(CPP) $(OFLAG)ConstPointers.exe ConstPointers.obj 
  70.  
  71. PointerAssignment.exe: PointerAssignment.obj 
  72.     $(CPP) $(OFLAG)PointerAssignment.exe PointerAssignment.obj 
  73.  
  74. Constval.exe: Constval.obj 
  75.     $(CPP) $(OFLAG)Constval.exe Constval.obj 
  76.  
  77. ConstReturnValues.exe: ConstReturnValues.obj 
  78.     $(CPP) $(OFLAG)ConstReturnValues.exe ConstReturnValues.obj 
  79.  
  80. ConstPointer.exe: ConstPointer.obj 
  81.     $(CPP) $(OFLAG)ConstPointer.exe ConstPointer.obj 
  82.  
  83. ConstTemporary.exe: ConstTemporary.obj 
  84.     $(CPP) $(OFLAG)ConstTemporary.exe ConstTemporary.obj 
  85.  
  86. ConstInitialization.exe: ConstInitialization.obj 
  87.     $(CPP) $(OFLAG)ConstInitialization.exe ConstInitialization.obj 
  88.  
  89. BuiltInTypeConstructors.exe: BuiltInTypeConstructors.obj 
  90.     $(CPP) $(OFLAG)BuiltInTypeConstructors.exe BuiltInTypeConstructors.obj 
  91.  
  92. EncapsulatingTypes.exe: EncapsulatingTypes.obj 
  93.     $(CPP) $(OFLAG)EncapsulatingTypes.exe EncapsulatingTypes.obj 
  94.  
  95. StringStack.exe: StringStack.obj 
  96.     $(CPP) $(OFLAG)StringStack.exe StringStack.obj 
  97.  
  98. EnumHack.exe: EnumHack.obj 
  99.     $(CPP) $(OFLAG)EnumHack.exe EnumHack.obj 
  100.  
  101. ConstMember.exe: ConstMember.obj 
  102.     $(CPP) $(OFLAG)ConstMember.exe ConstMember.obj 
  103.  
  104. Quoter.exe: Quoter.obj 
  105.     $(CPP) $(OFLAG)Quoter.exe Quoter.obj 
  106.  
  107. Castaway.exe: Castaway.obj 
  108.     $(CPP) $(OFLAG)Castaway.exe Castaway.obj 
  109.  
  110. Mutable.exe: Mutable.obj 
  111.     $(CPP) $(OFLAG)Mutable.exe Mutable.obj 
  112.  
  113. Volatile.exe: Volatile.obj 
  114.     $(CPP) $(OFLAG)Volatile.exe Volatile.obj 
  115.  
  116.  
  117. Safecons.obj: Safecons.cpp 
  118. Constag.obj: Constag.cpp 
  119. ConstPointers.obj: ConstPointers.cpp 
  120. PointerAssignment.obj: PointerAssignment.cpp 
  121. Constval.obj: Constval.cpp 
  122. ConstReturnValues.obj: ConstReturnValues.cpp 
  123. ConstPointer.obj: ConstPointer.cpp 
  124. ConstTemporary.obj: ConstTemporary.cpp 
  125. ConstInitialization.obj: ConstInitialization.cpp 
  126. BuiltInTypeConstructors.obj: BuiltInTypeConstructors.cpp 
  127. EncapsulatingTypes.obj: EncapsulatingTypes.cpp 
  128. StringStack.obj: StringStack.cpp 
  129. EnumHack.obj: EnumHack.cpp 
  130. ConstMember.obj: ConstMember.cpp 
  131. Quoter.obj: Quoter.cpp 
  132. Castaway.obj: Castaway.cpp 
  133. Mutable.obj: Mutable.cpp 
  134. Volatile.obj: Volatile.cpp 
  135.  
  136.